package com.symone.webcms.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.symone.webcms.model.Config;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


/**
 *   @description : Config Mapper 接口
 *   ---------------------------------
 * 	 @author Archer Chu
 *   @since 2019-01-07
 */
@Repository
public interface ConfigMapper extends BaseMapper<Config> {

        boolean deleteFlagById(long id);

        boolean updateValue(@Param("code") String code, @Param("value") String value);
}